package com.ruoyi.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.exam.domain.ExamQuestionAnswer;
import com.ruoyi.exam.vo.ExamQuestionAnswerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 题目答案Mapper接口
 *
 * @author Tellsea
 * @date 2025-05-30
 */
public interface ExamQuestionAnswerMapper extends BaseMapper<ExamQuestionAnswer> {

    Page<ExamQuestionAnswerVo> queryList(Page<?> page, @Param("entity") ExamQuestionAnswerVo entity);

    List<ExamQuestionAnswerVo> queryList(@Param("entity") ExamQuestionAnswerVo entity);

    ExamQuestionAnswerVo queryById(@Param("id") Long answerId);

    int insert(ExamQuestionAnswerVo entity);

}
